package com.skl.api;

import com.skl.pojo.dto.UserAuthDto;
import com.skl.resp.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "mall-user-feign",contextId = "userFeign")
public interface UserFeignClient {
    @GetMapping("/api/mobile/auth/{mobile}")
    R<UserAuthDto> loadUserByMobile(@PathVariable String mobile);
}
